CREATE TABLE [dbo].[tb_CategorizacionesHistoricas]
(
[idCategorizaciones] [int] NOT NULL IDENTITY(1, 1),
[Organizacion] [int] NOT NULL,
[Categoria] [int] NOT NULL,
[Nivel] [int] NOT NULL,
[Modaldiad] [int] NOT NULL,
[Zona] [int] NOT NULL,
[Tipo] [int] NOT NULL,
[Dede] [datetime] NULL,
[Hasta] [datetime] NULL,
[Baja] [varchar] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_CategorizacionesHistoricas] ADD CONSTRAINT [PK_tb_CategorizacionesHistoricas] PRIMARY KEY CLUSTERED  ([idCategorizaciones]) ON [PRIMARY]
GO
